//
//  PreferencePopover.h
//  Baidu
//
//  Created by C_HAO on 15/4/7.
//  Copyright (c) 2015年 C_HAO. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
#import "PreferenceViewController.h"
#import "NSWindow+canBecomeKeyWindow.h"

@interface PreferencePopover : NSObject<NSPopoverDelegate>
{
@private
    IBOutlet NSPopover *popover;
    IBOutlet NSWindow *detachWindow;
    IBOutlet PreferenceViewController *viewController;
}

@property NSPopover *popover;

- (void)showPopover:(id)sender;

@end
